package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 工单业务对象 kfn_work_order_store_adidas
 *
 * @author Panda
 * @date 2023-12-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class KfnWorkOrderStoreAdidasBo extends BaseEntity {

    /**
     * 店铺id
     */
    @NotNull(message = "店铺id不能为空", groups = { EditGroup.class })
    private Long storeId;

    /**
     * 店铺号
     */
    @NotBlank(message = "店铺号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeNumber;

    /**
     * 省份
     */
    @NotBlank(message = "省份不能为空", groups = { AddGroup.class, EditGroup.class })
    private String province;

    /**
     * 城市
     */
    @NotBlank(message = "城市不能为空", groups = { AddGroup.class, EditGroup.class })
    private String city;

    /**
     * 区/县
     */
    @NotBlank(message = "区/县不能为空", groups = { AddGroup.class, EditGroup.class })
    private String districts;

    /**
     * 店铺地址
     */
    @NotBlank(message = "店铺地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 所属管理区域
     */
    @NotBlank(message = "所属管理区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manageArea;

    /**
     * 店铺名称
     */
    @NotBlank(message = "店铺名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeName;

    /**
     * 店铺类型
     */
    @NotBlank(message = "店铺类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeType;

    /**
     * 店铺品牌
     */
    @NotBlank(message = "店铺品牌不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeBrand;

    /**
     * 开店日期
     */
    @NotNull(message = "开店日期不能为空", groups = { AddGroup.class, EditGroup.class })
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date openDate;

    /**
     * 店铺联系人
     */
    @NotBlank(message = "店铺联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeContacts;

    /**
     * 店铺联系电话
     */
    @NotBlank(message = "店铺联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeContactNumber;

    /**
     * 店铺邮箱
     */
    @NotBlank(message = "店铺邮箱不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeEmail;

    /**
     * 店铺状态
     */
    @NotBlank(message = "店铺状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeStatus;

    /**
     * 店铺定位
     */
    @NotBlank(message = "店铺定位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeGps;

    /**
     * 备注
     */
    private String remark;


}
